<#-- Freemarker macros provided by gnizr -->
<#include "/lib/web/macro-lib.ftl"/>

<#-- macro builds the heading HTML -->
<@pageBegin pageTitle="Gnizr Newsfeeds" cssHref=[gzUrl("/css/gnizr-newsfeed.css")]/>

<#-- macro builds the HTML of the top menu bar, search box etc. -->
<@headerBlock/>

<#-- macro builds the HTML of the page body -->
<@pageContent>

<#-- the meat of our Gnizr News Feed -->

<h1>Gnizr Newsfeed</h1>

<#if today?exists>
  <h2>Today</h2>
  <ul class="thefeed">
    ${today}
  </ul>
</#if>

<#if today?exists>
  <h2>Yesterday</h2>
  <ul class="thefeed">
    ${yesterday}
  </ul>
</#if>

<#if earlier?exists>
  <h2>Earlier This Week</h2>
  <ul class="thefeed">
    ${earlier}
  </ul>
</#if>

</@pageContent>

<#-- macro build the HTML of page footer -->
<@pageEnd/>
